package org.acme.cluster.service;

import org.jgroups.Address;
import org.jgroups.util.UUID;

public interface SysClusterService {

    String DEFAULT = "default";

    void startChannel() throws Exception;

    void stopChannel() throws Exception;

    UUID getUuid();

    void sendAll(Object message) throws Exception;

    void sendTo(Address address, Object message) throws Exception;
}
